rendernodes: Fix unconditionally impossible diffs
authorTimm Bäder <mail@baedert.org>
Sun, 8 Jul 2018 10:50:21 +0000 (12:50 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 8 Jul 2018 19:50:59 +0000 (21:50 +0200)
commita0b8e324621d1f60576e158b143470f99ac40553
tree95b9e6dac0270a9caf671593fbe008999e648de1
parent50f76eb8cca9e4707a03d0f4948c52ff03ad9890
rendernodes: Fix unconditionally impossible diffs

Some of the _diff implementations did a whole bunch of work just to
throw it away afterwards and invalidate the entire union of the two
render nodes, most notably the two clip nodes. Fix this to only call
gsk_render_node_diff_impossible if the previous if-condition is FALSE
and not always.
gsk/gskrendernodeimpl.c